package com.eedi.framework.notice.controller.org.vo;

import com.eedi.framework.common.enums.CommonStatusEnum;
import com.eedi.framework.common.enums.YesOrNoEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "机构界面 - 公告信息 Response VO")
@Data
public class OrgNoticeResp {

    @Schema(description = "通知公告序号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    private String sysNoticeId;

    @Schema(description = "公告标题", requiredMode = Schema.RequiredMode.REQUIRED, example = "小博主")
    private String sysNoticeTitle;

    @Schema(description = "副标题", requiredMode = Schema.RequiredMode.REQUIRED, example = "小博主")
    private String sysNoticeSubhead;

    @Schema(description = "公告内容", requiredMode = Schema.RequiredMode.REQUIRED, example = "半生编码")
    private String sysNoticeUrl;

    @Schema(description = "排序", requiredMode = Schema.RequiredMode.REQUIRED, example = "半生编码")
    private Integer sysNoticeSort;

    @Schema(description = "状态，参见 CommonStatusEnum 枚举类", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private CommonStatusEnum sysNoticeStatus;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED, example = "时间戳格式")
    private LocalDateTime createTime;

    @Schema(description = "是否已读", requiredMode = Schema.RequiredMode.REQUIRED, example = "1:是；0：否")
    private YesOrNoEnum read;
}
